import { Spin } from 'antd';

// 加载
const Loading = () => {
    return (
        <div style={{background:'rgba(0,0,0,.2)',width: '100vw', height: '100vh', position: 'fixed', left: 0, top: 0}}>
            <div style={{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%,-50%)"}}>
                <Spin  size="large" tip="加载中……"/>
            </div>
        </div>
    )
}

export default Loading;